﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Service;
using PersonalHealth.Data.Model;

namespace PersonalHealth.Data.IService
{
    public interface IHealthReportService : IService<HealthReport>
    {
        IList<HealthReport> GetUserReports(int userid, int pageIndex, int pageCount, out int msgCount);

        IList<HealthReport> FindWithUser<Tkey>(Func<HealthReport, bool> expression,
           Func<HealthReport, Tkey>[] orderby, bool[] isDescending, int pageIndex, int pageCount, out int pages, out int records);
    }
}
